package com.model;

import java.io.Serializable;

import com.alibaba.fastjson.JSON;
import com.mongodb.DBObject;
import com.util.excel.ExcelResources;

public class RemcDoctor implements Serializable {

	private static final long serialVersionUID = -1290180847825768552L;
	private String id; // 标识 1
	private String docName; // 被推荐人姓名 1
	private String hospitalName; // 医院名 1
	private String hospitalLevel; // 医院等级 1
	private String mobile; // 手机号 1
	private String city; // 城市 1
	private String district; // 区县 1
	private String deptName; // 科室名 1
	private String titleName;
	private Integer status; // 状态 1
	private String statusName; // 状态 1
	private String ct; // 提交时间 1
	private String appCt; // 注册APP时间 1
	private String recUser; // 推荐人 1
	private String recMobile; // 推荐医生电话 1
	private String recHospital; // 推荐医生医院 1
	private String recHospitalLevel; // 推荐医生医院 1
	private String areaManager; // 主管
	private String executive; // 代表

	public RemcDoctor() {
		super();
	}

	public RemcDoctor(DBObject o) {

	}

	@ExcelResources(title = "标识ID", order = 1)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@ExcelResources(title = "待签约医生姓名", order = 2)
	public String getDocName() {
		return docName;
	}

	public void setDocName(String docName) {
		this.docName = docName;
	}

	@ExcelResources(title = "联系电话", order = 3)
	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@ExcelResources(title = "城市", order = 4)
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@ExcelResources(title = "区县", order = 5)
	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	@ExcelResources(title = "医院", order = 6)
	public String getHospitalName() {
		return hospitalName;
	}

	public void setHospitalName(String hospitalName) {
		this.hospitalName = hospitalName;
	}

	@ExcelResources(title = "医院等级", order = 7)
	public String getHospitalLevel() {
		return hospitalLevel;
	}

	public void setHospitalLevel(String hospitalLevel) {
		this.hospitalLevel = hospitalLevel;
	}

	@ExcelResources(title = "科室", order = 8)
	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	@ExcelResources(title = "职称", order = 9)
	public String getTitleName() {
		return titleName;
	}

	public void setTitleName(String titleName) {
		this.titleName = titleName;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@ExcelResources(title = "状态", order = 10)
	public String getStatusName() {
		if (status == 1) {
			statusName = "新建";
		} else if (status == 2) {
			statusName = "签约中";
		} else if (status == 3) {
			statusName = "APP注册";
		} else if (status == 4) {
			statusName = "审核通过";
		} else if (status == 5) {
			statusName = "信息有误";
		} else if (status == 51) {
			statusName = "区域不符";
		} else if (status == 52) {
			statusName = "科室不符";
		} else if (status == 53) {
			statusName = "医院不符";
		} else if (status == 54) {
			statusName = "联系方式不符";
		} else if (status == 55) {
			statusName = "其他原因";
		} else {
			statusName = "未知";
		}
		return statusName;
	}

	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}

	@ExcelResources(title = "提交时间", order = 11)
	public String getCt() {
		return ct;
	}

	public void setCt(String ct) {
		this.ct = ct;
	}

	@ExcelResources(title = "APP注册时间", order = 12)
	public String getAppCt() {
		return appCt;
	}

	public void setAppCt(String appCt) {
		this.appCt = appCt;
	}

	@ExcelResources(title = "推荐人", order = 13)
	public String getRecUser() {
		return recUser;
	}

	public void setRecUser(String recUser) {
		this.recUser = recUser;
	}

	@ExcelResources(title = "推荐人手机", order = 14)
	public String getRecMobile() {
		return recMobile;
	}

	public void setRecMobile(String recMobile) {
		this.recMobile = recMobile;
	}

	@ExcelResources(title = "推荐人医院", order = 15)
	public String getRecHospital() {
		return recHospital;
	}

	public void setRecHospital(String recHospital) {
		this.recHospital = recHospital;
	}

	@ExcelResources(title = "推荐人医院等级", order = 16)
	public String getRecHospitalLevel() {
		return recHospitalLevel;
	}

	public void setRecHospitalLevel(String recHospitalLevel) {
		this.recHospitalLevel = recHospitalLevel;
	}

	@ExcelResources(title = "区域主管", order = 17)
	public String getAreaManager() {
		return areaManager;
	}

	public void setAreaManager(String areaManager) {
		this.areaManager = areaManager;
	}

	@ExcelResources(title = "代表", order = 18)
	public String getExecutive() {
		return executive;
	}

	public void setExecutive(String executive) {
		this.executive = executive;
	}

	@Override
	public String toString() {
		return JSON.toJSONString(this);
	}

}
